<%-- 
    Document   : Login
    Created on : 27-feb-2012, 9:16:17
    Author     : Williams
--%>

<%@page import="java.util.Date"%>
<%@page import="com.techopropio.bfh.model.Usuario"%>
<%@page import="com.techopropio.bfh.model.JefeFamilia"%>
<%@page import="com.techopropio.bfh.model.Solicitud"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title></title>
        <meta name="description" content="">
        <meta name="keywords" content="">
        <link href="views/style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <%
            Solicitud solicitud = (Solicitud) session.getAttribute("solicitud");
            JefeFamilia jefeFamilia = (JefeFamilia) session.getAttribute("jefeFamilia");
        %>
        <table border="0" cellpadding="0" cellspacing="0" align="center" background="views/images/fondo_cabecera_usuario.png">
            <tr>
                <td height="130" align="center" width="240"><a  href="#"><img src="views/images/logo.png" width="80" height="113" border="0" alt="Usuario"></a></td>
                <td width="403">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td><img src="views/images/c1.gif" width="5" height="5" border="0" alt=""></td>
                            <td style="background: url(views/images/c_top.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td><img src="views/images/c2.gif" width="5" height="5" border="0" alt=""></td>
                        </tr>
                        <tr>
                            <td style="background: url(views/images/c_left.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td width="393" align="left">
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>

                                        <%
                                            Usuario usuario = (Usuario) session.getAttribute("usuario");
                                            if (usuario == null) {
                                        %>
                                        <td>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Nombre:</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Apellidos</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>DNI</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Fecha y Hora</u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Otros</u></a></div>
                                        </td>
                                        <%                                        } else {
                                        %>
                                        <td>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Nombre: <%= usuario.getNombres()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Apellidos: <%= usuario.getApellidoP()%> <%= usuario.getApellidoM()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>DNI: <%= usuario.getDni()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Fecha y Hora: <%= (new Date()).toString()%></u></a></div>
                                            <div style="padding: 3px 0 3px 0"><img src="views/images/ico.gif" width="9" height="7" border="0" alt=""> <a class="topmenu"><u>Otros</u></a></div>
                                        </td>

                                        <%
                                            }
                                        %>


                                    </tr>
                                </table>
                            </td>
                            <td style="background: url(views/images/c_right.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                        </tr>
                        <tr>
                            <td><img src="views/images/c4.gif" width="5" height="5" border="0" alt=""></td>
                            <td style="background: url(views/images/c_bot.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td><img src="views/images/c3.gif" width="5" height="5" border="0" alt=""></td>
                        </tr>
                    </table>
                </td>
                <td><img src="views/images/spacer.gif" width="5" height="1" border="0" alt=""></td>
            </tr>
        </table>




        <table border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
                <td><img src="views/images/menu_left.gif" width="7" height="40" border="0" alt=""></td>
                <td width="635" style="background: url(views/images/menu_bg.gif)">


                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>


                            <td><img src="views/images/menu_line.gif" width="2" height="29" border="0" alt="" hspace="50"></td>			
                            <td><div class="aw"></div> <div class="mw"><a class="aw"></a></div></td>
                            <td><img src="views/images/menu_line.gif" width="" height="29" border="0" alt="" hspace="13"></td>


                        </tr>
                    </table>

                </td>
                <td><img src="views/images/menu_right.gif" width="6" height="40" border="0" alt=""></td>
            </tr>
        </table>
        <div><img src="views/images/spacer.gif" width="1" height="7" border="0" alt=""></div>



        <table border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>


                <td><img src="views/images/spacer.gif" width="4" height="1" border="0" alt=""></td>
                <td valign="top">

                    <div><img src="views/images/spacer.gif" width="1" height="3" border="0" alt=""></div>
                    <table border="0" cellpadding="0" cellspacing="0"  style="background: url(views/images/left_bg.gif)">
                        <tr>
                            <td><img src="views/images/left_left.gif" width="21" height="29" border="0" alt=""></td>
                            <td><img src="views/images/spacer.gif" width="7" height="1" border="0" alt=""></td>
                            <td width="350"><div class="lb"></div> <div class="lw">SOLICITUD PARA SER ACREEDORES  AL BFH</div></td>
                            <td><img src="views/images/left_right.gif" width="6" height="29" border="0" alt=""></td>
                        </tr>
                    </table>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="background: url(views/images/c_left.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td width="635" align="center">
                                <div><img src="views/images/spacer.gif" width="1" height="12" border="0" alt=""></div>

                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>


                                    </tr>
                                    <tr>
                                        <td style="background: url(views/images/bg_hor.gif) repeat-x center"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                        <td><img src="views/images/spacer.gif" width="1" height="19" border="0" alt=""></td>
                                        <td style="background: url(views/images/bg_hor.gif) repeat-x center"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                                    </tr>
                                    <tr>

                                    </tr>
                                </table>


                                <table width="635" border="0" align="center">
                                    <tr>
                                        <td width="625"><a class="item_name" >Solicitud de Ciudadano DNI: <%= jefeFamilia.getDni()%></a></td>
                                    </tr>
                                    <tr>
                                        <td height="101" bgcolor="#FFFFCC">&nbsp;
                                            <!-- Datos Grupo Familiar -->
                                            <table width="625" border="0">
                                                <tr> 
                                                    <td colspan="2" align="center"> 
                                                        <table width="303" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title">DATOS DEL JEFE DE FAMILIA</td>
                                                            </tr>
                                                            <tr>
                                                                <td width="159" class="sub_title">Nombre</td>
                                                                <td width="132"><input name="djf1" type="text" class="user-text-box" value="<%= jefeFamilia.getNombres()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Apellidos</td>
                                                                <td><input name="djf2" type="text" class="user-text-box" value="<%= jefeFamilia.getApellidoP()%>  <%= jefeFamilia.getApellidoM()%>" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">DNI</td>
                                                                <td><input name="djf3" type="text" class="user-text-box" value="<%= jefeFamilia.getDni()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Otros</td>
                                                                <td><input name="djf4" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                        </table>

                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="296">

                                                        <table width="283" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title">DATOS GRUPO FAMILIAR</td>
                                                            </tr>
                                                            <tr>
                                                                <td width="112" class="sub_title">T&eacute;lefono</td>
                                                                <td width="132"><input name="dgf1" type="text" class="user-text-box" value="<%= solicitud.getTelefono()%>" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">N&uacute;mero de dependientes</td>
                                                                <td><input name="dgf2" type="text" class="user-text-box " value="<%= solicitud.getNumDependientes()%>" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Miembros con Discapacidad</td>
                                                                <td><input name="dgf3" type="text" class="user-text-box" value="<%= solicitud.getNumDiscapacitados()%>" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td>&nbsp;</td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                        </table></td>
                                                    <td width="313">
                                                        <table width="297" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title">CONSTITUCI&Oacute;N DEL HOGAR</td>
                                                            </tr>
                                                            <tr>
                                                                <td width="124">&nbsp;</td>
                                                                <td width="157" class="sub_title">Jefe de Familia solo</td>
                                                            </tr>
                                                            <tr>
                                                                <td>&nbsp;</td>
                                                                <td class="sub_title">Jefa de Familia sola</td>
                                                            </tr>
                                                            <tr>
                                                                <td>&nbsp;</td>
                                                                <td class="sub_title">Jefe de Familia con discapacidad</td>
                                                            </tr>
                                                            <tr>
                                                                <td height="31">&nbsp;</td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                        </table></td>
                                                </tr>
                                                <tr>
                                                    <td> 
                                                        <table width="292" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title">DATOS DEL AHORRO</td>
                                                            </tr>
                                                            <%
                                                                if (solicitud.getAhorro() != null) {
                                                            %>
                                                            <tr>
                                                                <td width="148" class="sub_title">Entidad Financiera</td>
                                                                <td width="132"><input name="da1" type="text" class="user-text-box" value="<%= solicitud.getAhorro().getInstitucionFinanciera()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">N&uacute;mero de Cuenta</td>
                                                                <td><input name="da1" type="text" class="user-text-box"  value="<%= solicitud.getAhorro().getNroCuenta()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title" >Fecha de apertura de la cuenta</td>
                                                                <td><input name="da1" type="text" class="user-text-box" value="<%= solicitud.getAhorro().getFechaAperturaCuenta().toString()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Monto del Ahorro</td>
                                                                <td><input name="da1" type="text" class="user-text-box" value="<%= solicitud.getAhorro().getMonto()%>"/></td>
                                                            </tr>

                                                            <%
                                                            } else {
                                                            %>
                                                            <tr>
                                                                <td width="148" class="sub_title">Entidad Financiera</td>
                                                                <td width="132"><input name="da1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">N&uacute;mero de Cuenta</td>
                                                                <td><input name="da1" type="text" class="user-text-box"  /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title" >Fecha de apertura de la cuenta</td>
                                                                <td><input name="da1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Monto del Ahorro</td>
                                                                <td><input name="da1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <%                                                                }
                                                            %>
                                                        </table></td>
                                                    <td> 
                                                        <table width="303" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title">DATOS DE LA VIVIENDA</td>
                                                            </tr>
                                                            <%
                                                                if (solicitud.getVivienda() != null) {
                                                            %>
                                                            <tr>
                                                                <td width="159" class="sub_title">Precio de la vivienda</td>
                                                                <td width="132"><input name="dv1" type="text" class="user-text-box" value="<%= solicitud.getVivienda().getPrecioVivienda()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Entidad financiera de la vivienda</td>
                                                                <td><input name="dv2" type="text" class="user-text-box" value="<%= solicitud.getVivienda().getEntidadFinancieraV()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Monto del prestamo de Hipoteca</td>
                                                                <td><input name="dv3" type="text" class="user-text-box"  value="<%= solicitud.getVivienda().getMontoHipoteca()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Nombre del Proyecto</td>
                                                                <td><input name="dv4" type="text" class="user-text-box" value="<%= solicitud.getVivienda().getNombreProyecto()%>"/></td>
                                                            </tr>

                                                            <%                                                            } else {
                                                            %>
                                                            <tr>
                                                                <td width="159" class="sub_title">Precio de la vivienda</td>
                                                                <td width="132"><input name="dv1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Entidad financiera de la vivienda</td>
                                                                <td><input name="dv2" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Monto del prestamo de Hipoteca</td>
                                                                <td><input name="dv3" type="text" class="user-text-box"  /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Nombre del Proyecto</td>
                                                                <td><input name="dv4" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <%                                                                }
                                                            %>

                                                        </table></td>

                                                </tr>

                                                <tr>
                                                    <td>
                                                        <table width="285" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title" >VICTIMAS DEL TERRORISMO</td>
                                                            </tr>
                                                            <tr>
                                                                <td width="117" class="sub_title">Parentesco</td>
                                                                <td width="132">&nbsp;</td>
                                                            </tr>
                                                            <%
                                                                if (solicitud.getVictimaTerrorismo() != null) {
                                                            %>
                                                            <tr>
                                                                <td class="sub_title">Nombre de la Persona</td>
                                                                <td><input name="da1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td>&nbsp;</td>
                                                                <td>&nbsp;</td>
                                                            </tr>

                                                            <%                                                            } else {
                                                            %>
                                                            <tr>
                                                                <td class="sub_title">Nombre de la Persona</td>
                                                                <td><input name="da1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td>&nbsp;</td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                            <%                                                                }
                                                            %>

                                                        </table></td>
                                                    <td> 
                                                        <table width="307" border="0">
                                                            <tr>
                                                                <td colspan="2" class="title">APORTACI&Oacute;N AL FONAVI</td>
                                                            </tr>
                                                            <%
                                                                if (solicitud.getAportacionFonavi() != null) {
                                                            %>
                                                            <tr>
                                                                <td width="163" class="sub_title">Acreditado por </td>
                                                                <td width="132"><%= solicitud.getAportacionFonavi().getAcreditadoPor()%></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Tiempo de Aportaci&oacute;n</td>
                                                                <td><input name="af1" type="text" class="user-text-box" value="<%= solicitud.getAportacionFonavi().getTiempoAportacion()%>"/></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Monto mensual</td>
                                                                <td><input name="af2" type="text" class="user-text-box" value="<%= solicitud.getAportacionFonavi().getMontoMensual()%>"/></td>
                                                            </tr>

                                                            <%                                                            } else {
                                                            %>
                                                            <tr>
                                                                <td width="163" class="sub_title">Acreditado por </td>
                                                                <td width="132"></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Tiempo de Aportaci&oacute;n</td>
                                                                <td><input name="af1" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td class="sub_title">Monto mensual</td>
                                                                <td><input name="af2" type="text" class="user-text-box" /></td>
                                                            </tr>
                                                            <%                                                                }
                                                            %>

                                                        </table></td>

                                                </tr>

                                            </table>





                                        </td>
                                    </tr>                      
                                </table>
                                <div><img src="views/images/spacer.gif" width="1" height="12" border="0" alt=""></div>
                                <form method="post">
                                    <table width="550" border="0" align="center">
                                        <tr>
                                            <td class="title">Registrar Observaci&oacute;n</td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <label for="textobs"></label>
                                                <textarea name="observacion" id="textobs" cols="60" rows="5"></textarea>
                                            </td>
                                        </tr>                      
                                    </table>

                                    <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>

                                    <table width="257" height="117" border="0" align="center">
                                        <tr> 
                                            <td colspan="2" align="center" width="300" height="35">

                                                <select name="lista" >
                                                    <option>Aceptado</option>
                                                    <option>Rechazado</option>
                                                    <option>En Proceso</option>
                                                </select>
                                            </td>

                                        </tr>
                                        <tr>
                                            <td height="39" colspan="2">&nbsp;</td>
                                        </tr> 
                                        <tr>
                                            <td width="300"><input type="submit" name="submit" value="submit"/></td>

                                        </tr>
                                    </table>
                                </form>


                                <div><img src="views/images/spacer.gif" width="1" height="14" border="0" alt=""></div>

                            </td>
                            <td style="background: url(views/images/c_right.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                        </tr>
                        <tr>
                            <td><img src="views/images/c4.gif" width="5" height="5" border="0" alt=""></td>
                            <td style="background: url(views/images/c_bot.gif)"><img src="views/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
                            <td><img src="views/images/c3.gif" width="5" height="5" border="0" alt=""></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>


        <div><img src="views/images/spacer.gif" width="1" height="9" border="0" alt=""></div><table border="0" cellpadding="0" cellspacing="0" style="background: #767F82" width="647" align="center">	<tr>		<td><img src="views/images/bot_left.gif" width="3" height="7" border="0" alt=""></td>		<td align="right"><a href="views/images/img.html"><img src="views/images/bot_right.gif" width="4" height="7" border="0" alt=""></a></td>	</tr></table>
        <div><img src="views/images/spacer.gif" width="1" height="6" border="0" alt=""></div>

        <table border="0" cellpadding="0" cellspacing="0" width="647" align="center">
            <tr>
                <td></td>
                <td align="right" valign="top"><div class="top11">Copyright © 2012 UNMSM <b>Diseñado Por <a href="#" class="top11">Software</a></b><br>
                        <a href="#" class="top11">Website </a> por <a href="#" class="top11">Software</a>
                    </div></td>
            </tr>
        </table>
        <div><img src="views/images/spacer.gif" width="1" height="42" border="0" alt=""></div>
        <!-- Start of StatCounter Code -->
        <script type="text/javascript" language="javascript">
            var sc_project=1952940; 
            var sc_invisible=1; 
            var sc_partition=17; 
            var sc_security="fa1db912"; 
        </script>

        <script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://icetemplates.com/" target="_blank"><img  src="http://c18.statcounter.com/counter.php?sc_project=1952940&amp;java=0&amp;security=fa1db912&amp;invisible=1" alt="website templates" border="0"></a> </noscript>
        <!-- End of StatCounter Code -->
    </body>

</html>